package com.example._03vehicle.pojo.entity;

import lombok.Data;

import java.util.Date;
@Data
public class Vehicle {
    /* id           bigint auto_increment comment '车辆id' primary key,
    brand        varchar(30) comment '车辆品牌',
    license      varchar(20) comment '车牌号',
    model        varchar(100) comment '车辆型号',
    code         varchar(100) comment '车辆识别码',
    displacement varchar(20) comment '车辆排量',
    type         varchar(50) comment '车辆类型',
    color        varchar(10) comment '车辆颜色',
    battery_type varchar(50) comment '电池类型',
    create_time  datetime comment '创建时间',
    update_time  datetime comment '更新时间',
    user_id      BIGINT comment '用户id'*/
    private Long id;
    private String brand;
    private String license;
    private String model;
    private String code;
    private String displacement;
    private String type;
    private String color;
    private String batteryType;
    private Date createTime;
    private Date updateTime;
    private Long userId;
}
